import Vue from 'vue';
import vuex from 'vuex';

Vue.use(vuex);
import home from './home';
import search from './search';
import detail from './detail/detail';
import shopcart from './shopcart/shopcart';
import user from "./user/user.js"
import trade from "./trade/trade.js"


export default new vuex.Store(
    {
        modules: {
            home,
            search,
            detail,
            shopcart,
            user,
            trade
        }
    }
);